﻿@model MVCBootStrapShell_WithTheme.Models.Person

@{
    ViewBag.Title = "Index";
    var likesMusic = (bool)Model.LikesMusic ? "active" : null;
    var notAMusicFan = !(bool)Model.LikesMusic ? "active" : null;
}

@Html.DisplayForModel(Model)

@*<h2>Index</h2>

<div>
    <div class="page-header">
        <h1>Welcome to the Person Page <small>Read all about @Model.FirstName</small></h1>
    </div>
    <h4>Person</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.FirstName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.FirstName)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.LastName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.LastName)
        </dd>
    </dl>
    <p>@Html.DisplayNameFor(model => model.BirthDate): @Html.DisplayFor(model => model.BirthDate)</p>
    <p>Likes Music: @Html.DisplayFor(model => model.LikesMusic)</p>
</div>

@{
    ViewBag.ListDescription = "Skills:";
    Html.RenderPartial("_StringCollection", Model.Skills);
}
@{
    ViewBag.ListDescription = "Quality:";
    Html.RenderPartial("_StringCollection", Model.Quality);
}


<p>
    @Html.ActionLink("Edit", "Edit", new { /* id = Model.PrimaryKey */ }) |
    @Html.ActionLink("Back to List", "Index")
</p>*@
